//
//  RDBloodSugarDBManager.h
//  ReverseDiabetes
//
//  Created by 王佩璇 on 2024/8/27.
//

#import <Foundation/Foundation.h>

#import "RDBloodSugar.h"






NS_ASSUME_NONNULL_BEGIN

@interface RDBloodSugarDBManager : NSObject




@property (nonatomic, strong) FMDatabaseQueue *queue;

+ (instancetype)sharedManager;

- (void)saveBloodSugar:(RDBloodSugar *)bloodSugar;

- (NSMutableArray *)getBloodSugarHistory;

- (NSMutableArray *)getBloodSugarByRecordingTime:(NSString *)recording_time;


- (void)deleteBloodSugar:(RDBloodSugar *)bloodSugar;
@end

NS_ASSUME_NONNULL_END
